package cores.colorwheel;

import cores.colorwheel.Color.sector;

public class FourComplementary {

	Color c1, c2, c3, c4;
	
	public FourComplementary(Color c1, Color c2, Color c3, Color c4s) {
		this.c1 = c1;
		this.c2 = c2;
		this.c3 = c3;
		this.c4 = c4;
	}
	
	public boolean isComplementary() {
		if (c1.getSector() == sector.Amarelo && c2.getSector() == sector.Vermelho && c3.getSector() == sector.Azul ||
				c2.getSector() == sector.Amarelo && c3.getSector() == sector.Vermelho && c1.getSector() == sector.Azul ||
				c3.getSector() == sector.Amarelo && c1.getSector() == sector.Vermelho && c2.getSector() == sector.Azul) {
		return true;
		} else if (c1.getSector() == sector.AmareloAlaranjado && c2.getSector() == sector.VermelhoVioleta && c3.getSector() == sector.AzulEsverdeado ||
				c2.getSector() == sector.AmareloAlaranjado && c3.getSector() == sector.VermelhoVioleta && c1.getSector() == sector.AzulEsverdeado ||
				c3.getSector() == sector.AmareloAlaranjado && c1.getSector() == sector.VermelhoVioleta && c2.getSector() == sector.AzulEsverdeado) {
			return true;
		} else if (c1.getSector() == sector.Laranja && c2.getSector() == sector.Violeta && c3.getSector() == sector.Verde ||
				c2.getSector() == sector.Laranja && c3.getSector() == sector.Violeta && c1.getSector() == sector.Verde ||
				c3.getSector() == sector.Laranja && c1.getSector() == sector.Violeta && c2.getSector() == sector.Verde) {
			return true;
		} else if (c1.getSector() == sector.VermelhoAlaranjado && c2.getSector() == sector.AzulVioleta && c3.getSector() == sector.AmareloEsverdeado ||
				c2.getSector() == sector.VermelhoAlaranjado && c3.getSector() == sector.AzulVioleta && c1.getSector() == sector.AmareloEsverdeado ||
				c3.getSector() == sector.VermelhoAlaranjado && c1.getSector() == sector.AzulVioleta && c2.getSector() == sector.AmareloEsverdeado) {
			return true;
		} 
		return false;
	}
	
	public static boolean mount(int hue1, int hue2, int hue3, int hue4) {
		
		return true;
	}
}
